export class LineWidgetData {
  type: string
  initW: number
  initH: number
  x: number
  y: number
  width: number
  height: number
  active: boolean
  zIndex: number
  color: string
  rotate: number
  config: object

  constructor(config: object = {}) {
    this.type = 'line'
    this.initW = 100
    this.initH = 1
    this.x = 10
    this.y = 10
    this.width = 100
    this.height = 1
    this.active = true
    this.color = '#000000'
    this.zIndex = 0
    this.rotate = 0
    this.config = config
  }
}
